@font-face {
    font-family: "Frutiger";
    src: url("FrutigerBold.woff2") format("woff2");
    font-weight:bold;
}

@font-face {
    font-family: "Frutiger";
    src: url("FrutigerRoman.woff2") format("woff2");
    font-weight:400;
    font-display:swap;
    font-style:normal;
}


/* New Nav Bar */

.master:not(.contentMaster):not(.editProjectMaster) form[action="authoringdashboard.aspx"]>header {

    z-index: 10;

}


.master form[action="authoringdashboard.aspx"]>header nav.menu,
.master form[action="authoringdashboard.aspx"]>header .logo,
.master form[action="authoringdashboard.aspx"]>header .subHeader,
.master form[action="authoringdashboard.aspx"]>header section.user,
.master form[action="authoringdashboard.aspx"]>header section.user .info {
    background-color: white;
    height: 60px;
    line-height: 60px;

}

.master form[action="authoringdashboard.aspx"]>header .logo {
    width: 80px;
    background: url(company-logo.png) center center no-repeat;
    background-size: contain;
}

.master form[action="authoringdashboard.aspx"]>header .subHeader {

    box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.1);
    padding-left: 20px;
    background-color: white;


}

.master form[action="authoringdashboard.aspx"]>header nav.menu {
    padding: 0 0 0 100px;
}

.master form[action="authoringdashboard.aspx"]>header section.user .info>* {
    line-height: 60px;
    height: auto;
}

.master form[action="authoringdashboard.aspx"]>header nav.menu .sitemap {
    height: 60px;
}


.master form[action="authoringdashboard.aspx"]>header nav.menu .sitemap>li>a {
    line-height: 60px;
    color: #005eb8;
    font-weight: bold;
    font-size: 1.2em;
    height: 60px;
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
}

.master form[action="authoringdashboard.aspx"]>header nav.menu .sitemap>li.has-children>a:before {
    display: none;
}

.master form[action="authoringdashboard.aspx"]>header nav.menu .sitemap>li.current>a {
    height: auto;
    border-bottom: solid 0px #FFFFFF;
}


.master form[action="authoringdashboard.aspx"]>header nav.menu .sitemap>li ul,
.master form[action="authoringdashboard.aspx"]>header section.user .info>span>.menu,
.master form[action="authoringdashboard.aspx"]>header .mainSearch .mainSearchExtender {
    margin-top: 0;
    top: 60px;
    border-radius: 0px;

}

.master form[action="authoringdashboard.aspx"]>header nav.menu .sitemap>li>ul li,
.master form[action="authoringdashboard.aspx"]>header section.user .info>span>.menu li {
    font-size: 0.9rem;
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
}


.master form[action="authoringdashboard.aspx"]>header .mainSearch>input {
    margin-top: 0;
    border: 1px solid lightgrey;
    border-radius: 50px;
    height: 30px;
    font-size: 0.9rem;
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
}

.master form[action="authoringdashboard.aspx"]>header .mainSearch>input:focus-within {
    border: 1px solid grey;
}


.master form[action="authoringdashboard.aspx"]>header section.user .mainSearch.empty:before {
    font-size: 1rem;
    padding: 0 10px;
}

.master form[action="authoringdashboard.aspx"]>header section.user .info .notification:before,
.master form[action="authoringdashboard.aspx"]>header section.user .help:before {
    color: #005eb8 !important;
}


.master form[action="authoringdashboard.aspx"]>header section.user .info .profile {
    padding: 15px 20px 0 0;
    height: 60px;
    line-height: 30px;
}

.master form[action="authoringdashboard.aspx"]>header section.user .info .profile span {
    font-size: 12px;
}


.master form[action="authoringdashboard.aspx"]>header section.user .info {
    display: flex;
    gap: 20px;
}

.master form[action="authoringdashboard.aspx"]>header section.user .info .profile>span,
.master form[action="authoringdashboard.aspx"]>header section.user .info .profile .picture {
    height: 30px;
    width: 30px;
}



/* Moblie view */

.master form[action="authoringdashboard.aspx"]>header section.user .info>span {
    line-height: 60px;
    height: 60px;
    font-size: 12px;
}

.master form[action="authoringdashboard.aspx"]>header nav.menu {
    margin-top: 0px;
}

.master form[action="authoringdashboard.aspx"]>header .logo {
    max-height: 60px;
}

.master form[action="authoringdashboard.aspx"]>header nav.menu>input[type=checkbox]~label {
    color: #3f3f3f;
}

@media (max-width: 560px) {

    .master form[action="authoringdashboard.aspx"]>header section.user .info .profile>span,
    .master form[action="authoringdashboard.aspx"]>header section.user .info .profile .picture {
        line-height: 30px;
        margin-top: 0;
    }
}



/* Custom Dashboard - Variables */

form[action="authoringdashboard.aspx"] {

    --HeaderText: "Hello";

    --SubHeaderText: "Barts Health NHS";

   --HeaderBackgroundImage: linear-gradient(to bottom, rgba(0,94,184, 0.6), rgba(0,94,184, 0.8)), url('header.jpg');

    --IntroHeader: "Like the new design?";

    /* If you want to put a break onto a new line, use \A \A */
    --IntroText: "This is a concept for a new End User Dashboard. It has been completely re-designed to make the platform look more modern. \A \A Any feedback on this would help us develop this further. Thanks! ";

    /* For the image next to the intro, add it directly in the Widget */

}

/* Custom Dashboard - Custom Library Widget tiles */

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeNode__text>a[href*="LocalizedItemId=1567&"] {
    background-image: url('oracle-2.png');
    background-size:cover;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeNode__text>a[href*="LocalizedItemId=1568&"] {
    background-image: url('Budget.jpg');
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeNode__text>a[href*="LocalizedItemId=1706&"] {
    background-image: url('qlik-sense-2.png');
    background-size:cover;
    background-position-y: -5px;
}


body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeNode__text>a[href*="LocalizedItemId=2334&"] {
    background-image: url('finance.jpg');
}


/* Custom Dashboard - General */

form[action="authoringdashboard.aspx"] #SectionToolbar {
     display: none;
/*    Remove this to edit */
}


form[action="authoringdashboard.aspx"] #SectionColumnCenter {
    padding: 0;
    margin: 0;
    background-color: white;
}

 form[action="authoringdashboard.aspx"] #Content_WidgetGrid_GridPanel {
    background-color: white;
    height: auto !important;
}


/* form[action="authoringdashboard.aspx"] #PanelNavigationBar {
    display: none;
}
*/
form[action="authoringdashboard.aspx"] .assima__scrollExtender__mask {
    background: none;
}

body:has(form[action="authoringdashboard.aspx"]) .assima__scrollExtender__scroller,
body:has(form[action="authoringdashboard.aspx"]) .assima__scrollExtender__mask.vertical.scrollerWidget {
    display: none;
}

body:has(form[action="authoringdashboard.aspx"]) .widgetContainer {
    padding: 0;
}

body:has(form[action="authoringdashboard.aspx"]) .grid-stack>.grid-stack-item>.grid-stack-item-content {
    left: 0;
    right: 0;
}

/* Custom Dashboard Header */

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(1)>div>div::before {
    content: var(--HeaderText);
    font-size: 12em;
    color: white;
    font-weight: bold;
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
    line-height: 0.8;
    animation: fadeInFromTop ease-out 1s forwards;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(1)>div>div::after {
    content: var(--SubHeaderText);
    opacity: 0;
    font-size: 3em;
    font-weight:bold;
    color: white;
    padding-top: 10px;
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
    animation: fadeInFromTop ease-out 1s forwards;
    animation-delay: 0.5s;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(1)>div>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    background-image: var(--HeaderBackgroundImage) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(1)>div>div>.control {
    display: none;
}


/* Custom Dashboard Intro Text */

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(2)>div {
    margin: 20px;
}


body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(2)>div>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    animation: fadeInFromLeft ease 1s;
    margin: auto;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(2)>div>div::before {
    content: var(--IntroHeader);
    font-size: 3em;
    font-weight:bold;
    color: rgb(33, 43, 50);
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
    line-height: 1.2;
    padding: 0 30px;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(2)>div>div::after {
    content: var(--IntroText);
    font-size: 1.5em;
    font-weight:400;
    color: rgb(33, 43, 50);
    white-space: pre-wrap;
    font-family: Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
    padding: 0 30px;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(2)>div>div>.control {
    display: none;
}

@media (max-width: 600px) {
    body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(2) {
        height: 500px !important;
    }
}

/* Custom Dashboard Intro Image */

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(3)>div {
    margin: 20px;
    animation: fadeInFromLeft ease 1s;
    display: flex;
    justify-content: center;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(3)>div>div {
    width: 90%;
    position: static;
    border-radius: 10px;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(3)>div>div>.control {
    display: none;
}


/* Library Header Widget */

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(4)>div>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(4)>div>div::after {
    content: "Library";
    font-size: 4em;
    color: rgb(33, 43, 50);
    font-weight: bold;
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
    line-height: 0.8;
    text-decoration: underline;
    text-decoration-color: #005EB8;
    text-decoration-thickness: 10px;
    text-underline-offset: 30px;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(4)>div>div>.control {
    display: none;
}


/* Library Widget */


body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) a[id*="ItemLink"] {
    display: none;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .itemContainer span {
    display: none;
}


body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) {
    height: auto !important;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5)>div,
body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5)>div>div,
body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5)>div>div>div,
body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5)>div>div>div>div {
    position: static;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5)>div>div {
    padding: 10px;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeView__collection.assima__treeGrid__collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    justify-items: center;
    gap: 20px;
    width: 100%;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeView__collection.assima__treeGrid__collection li {
    min-height: 300px;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 5px;
    transition: transform ease 0.5s;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeView__collection.assima__treeGrid__collection li:hover {
    transform: scale(1.03) translateZ(0);
    ;
    transition: transform ease 0.5s;
    border: 1px solid lightgrey;
    /* font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5)>div>div>div>div {
    overflow: visible;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5)>div>div>div {
    background-color: white;
}


body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeNode__text>a {
    background-color: white;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .itemContainer {
    margin-top: auto;
    box-sizing: border-box;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .itemContainer h1 {
    font-weight:bold;
    margin: 0 !important;
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.5em !important;
    max-height: none !important;
    color: white !important;
    font-size: 2em !important;
    background: linear-gradient(to bottom, rgba(0,94,184, 0.6), rgba(0,94,184, 1));
    padding: 10px !important;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) span.status {
    background: none;
}


body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .assima__treeNode__content:hover h1 {
    text-decoration: none;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5)::after {
    content: " Powered by Assima";
    display: flex;
    padding: 20px;
    line-height: 24px;
    margin-top: 20px;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L3 14h7v8l10-12h-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: top center;
    justify-content: center;
    font-family: 'Frutiger',Roboto, 'Roboto', -apple-system, system-ui, Segoe UI, sans-serif;
}

body:has(form[action="authoringdashboard.aspx"]) #Content_WidgetGrid_GridPanel>div:nth-child(5) .itemContainer .description {
    display: none;
}


/* Animations */

@keyframes fadeInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}